<template>
	<view class="content">
		<view class="line" @click="gotoHelpWrite(1)">
			<view class="left">
				用户隐私条例
			</view>
			<view class="right">
				查看
				<image src="/static/icon_my_next.png" mode=""></image>
			</view>
		</view>

		<view class="line" @click="gotoHelpWrite(2)">
			<view class="left">
				风险提示帮助
			</view>
			<view class="right">
				查看<image src="/static/icon_my_next.png" mode=""></image>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			// 1为隐私 2为风险提示帮助
			gotoHelpWrite(type) {
				uni.navigateTo({
					url: `/pages/documentDetail/documentDetail?type=${type}`
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		background-color: #000000;
		width: 100vw;
		height: 100vh;
		box-sizing: border-box;
		padding: 30rpx;

		.line {
			height: 100rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			box-sizing: border-box;
			padding-left: 32rpx;
			padding-right: 32rpx;
			box-sizing: border-box;
			font-size: 32rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #FFFFFF;
			border-bottom: 2rpx solid #272727;

			.right {
				display: flex;
				align-items: center;

				image {
					width: 18rpx;
					height: 30rpx;
					margin-left: 10rpx;
				}
			}
		}

	}
</style>
